package cn.exrick.xboot.base.login

import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import javax.validation.constraints.NotBlank

@ApiModel("登录入参")
data class LoginDto(

        @ApiModelProperty("手机号")
        @NotBlank(message = "手机号不能为空")
        var mobile: String? = null,

        @ApiModelProperty("密码")
        @NotBlank(message = "密码不能为空")
        var password: String? = null,

        @ApiModelProperty("验证码")
        var code: String? = null,

        @ApiModelProperty("类型")
        var type: Int? = null
)